package com.kaluli.project.service;

import java.util.Date;
import java.util.Iterator;
import java.util.Set;

import org.apache.http.client.utils.DateUtils;

import com.kaluli.project.utils.DateOprator;
import com.kaluli.project.utils.RandomNumber;

public class TestRandom {

	
	public static void main(String[] args) {
		
	    Date d = 	DateOprator.getPrevMonthByLength(new Date(), 1);
	    System.out.println(DateUtils.formatDate(d, "yyyy-MM-dd HH:MM:ss"));
		
	}
}
